package com.zmzncs.lmtc.module.customer.pojo.card;

import com.zmzncs.lmtc.common.pojo.enums.optionalvalue.order.OrderStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 客户-会员卡
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Data
public class CardHasForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单号")
    private String orderCode;

    @ApiModelProperty(value = "车牌", required = true)
    @NotBlank
    String carNumber;

    @ApiModelProperty(value = "停车场id", required = true)
    @NotNull
    Long parkId;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "预付后免费出场时长（分钟）")
    private String freeOutTime;

    @ApiModelProperty(value = "开始时间", required = true)
    @NotNull
    Date beginTime;

    @ApiModelProperty(value = "结束时间", required = true)
    @NotNull
    Date endTime;

}
